package com.yjc.drygoods.product.dao;

import com.yjc.drygoods.product.vo.SkuItemAttrGroupVo;
import com.yjc.drygoods.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-08-19 21:27:48
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SkuItemAttrGroupVo> selectAttrGroupWithAttrsBySpuIdAndCatelogId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
